<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<button>
    <a href="{{ url_for('auther.login') }}">登陆</a>
</button>

{% if current_user.is_authenticated %}
    <p>{{ current_user.name }}</p>
{% endif %}

<button>
    <a href="{{ url_for('auther.logout') }}">退出</a>
</button>
</body>
</html>